﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestProcessingPlugin
{
    /// <summary>
    /// A plugin for testing purposes. It simply forwards any values and outputs it to the trace.
    /// </summary>
    public class TestProcessingPlugin : MyHome.Server.PluginBase.ProcessingPlugin<object, object>
    {
        protected override object Process(object value)
        {
            Trace.TraceInformation("ProcessingPlugin forwarding: {0}", value);
            return value;
        }

        protected override void OnStart()
        {
        }

        protected override void OnStop()
        {
        }
    }
}
